<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ChangeSecondZysyToTalentTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('talent', function (Blueprint $table) {
            $table->renameColumn('second_gzdl', 'second_zysy')->comment('二面-职业素养');
            $table->renameColumn('second_zyjn', 'second_zynl')->comment('二面-专业能力');
            $table->renameColumn('second_xmjy', 'second_gzsl')->comment('二面-工作思路');
            $table->renameColumn('second_xxcx', 'second_gtxz')->comment('二面-沟通协作');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('talent', function (Blueprint $table) {
            //
        });
    }
}
